package com.dy.lock.screen.component;

import java.util.List;

import com.dy.lock.screen.scoket.Head;
import com.dy.lock.screen.vo.OrderVo;

public interface OrderInfoComponent {
	/**
	 * 删除订单
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public boolean deleteOrderForm(String body, Head head);

	/**
	 * 兑换订单
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public boolean exchangeOrderForm(String body, Head head);

	/**
	 * 获取订单列表
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public List<OrderVo> list(String body, Head head);
	
	/**
	 * 获取订单详情
	 * @param body
	 * @param head
	 * @return
	 */
	public OrderVo getOrderForm(String body, Head head);

	/**
	 * 用户付款
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public OrderVo pay(String body, Head head);

	/**
	 * 兑换成功
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public OrderVo exchangeSuccess(String body, Head head);
}
